package algo;

import java.util.Set;

public class Vertex<T extends Vertex<T>> {
	public boolean group;
	public Set<T> neighbours;
	public T match = null;
	private final String name;
	
	public Vertex(boolean group, Set<T> neighbours, String name) {
		super();
		this.group = group;
		this.neighbours = neighbours;
		this.name = name;
	}
	
	@Override
	public String toString() {
		return name;
	}
}
